package dataAccessLayer;

import java.util.HashSet;
import java.util.List;
import java.util.Scanner;
import java.util.Set;

import org.hibernate.Query;
import org.hibernate.Session;

import connection.Connector;
import entities.Category;
import entities.Picture;
import entities.User;

public class Tester {

	public static void main(String[] args) {
		DataGetter dg = new DataGetter();
//		dg.getPictureByName("PICMUSAKA");
//		dg.getUserByName("MUSAKA");
//		dg.getCategoriesByUser("MUSAKA");
		dg.getAllPictures();
//		dg.getAllUserPictures("MUSAKA");
//		dg.getPicturesByCategory("CATMUSAKA");
//		dg.getCategoryByName("CATMUSAKA");
//		dg.getUserByName("MUSAKA");
//		dg.getAllSubcategories("CATMUSAKA");
//		dg.getAllUsers();
		DataManipulator dm = new DataManipulator();
//		dm.createNewUser("Plamen", "INSANE");
//		dm.createNewCategory("CATPLAMEN",null,"PLAMEN");
//		dm.editUser("PLA", "PLAMEN", "INSANE");
//		dm.deleteUser("newUser");
//		dm.deleteCommentByPicture("PICMUSAKA");
//		dm.editCategory("CATMUSAK", "CATMUSAKA");
//		dm.createNewPicture("PICTURE2", "CATPLAMEN");
//		dm.createNewComment("PICTURE", "Drugo Komentar4e");
//		dm.editPicture("PICI", "PICTURE");
	}
}
